@extends('Admin.layout.layout')
@section('title')
<title>lamp178官网 - 后台式神添加</title>
@endsection
@section('con')
  <div class="row">
                <div class="col-lg-12">
                    <h1>式神修改</h1>
                    <h4 style="margin-top:25px">亲爱的管理员</h4>
                    <h4 style="margin-top:15px;margin-left:40px;">式神宝宝有些功能无法修改 请见谅 或者您 可以更新 删除 式神宝宝</h4>
                    <h4 class="page-header" style="margin-top: 0px;"></h4>
                </div>
                <!-- /.col-lg-12 -->
            </div>
          @if (count($errors) >0)
          <div class="alert alert-danger">
            <ul>
              @foreach($errors->all() as $error)
              <li>{{ $error }}</li>
              @endforeach
            </ul>
          </div>
          @endif
          <form action="{{url('/admin/shisheng/update')}}" method="post" class="form-horizontal" enctype="multipart/form-data">
              
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">式神名</label>
                    <div class="col-xs-4">
                     <input type="text" name="username"  class="form-control" value="{{$users->username}}" >
                                                              
                    </div>
                    <span></span>
                  </div>
                 
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">等级</label>
                    <div class="col-xs-4">
                     <input type="text" class="form-control" value="{{$users->grade}}" disabled>
                   
                  </div>
                  </div>
                
                  
                  <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">式神觉醒前头像&nbsp;&nbsp;</label>
                         <img src="{{asset($users->img)}}" class="img-circle" style="width:100px;height:100px;margin-left:5%">
                                                    
                </div>
                <div class="form-group">
                        <label for="inputPassword3" class="col-xs-2 control-label">式神觉醒后头像&nbsp;&nbsp;</label>
                          <input type="file" name="pic">
                          <img src="{{asset($users->pic)}}" class="img-circle" style="width:100px;height:100px;margin-left:5%">
                                                    
                </div>
          
                 <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">描述</label>
                   <div class="col-xs-4">
                      <textarea class="form-control" rows="3" name="miaoshu">{{$users->miaoshu}}</textarea>
                                                              
                    </div>
                    
                  </div>
                  

                  <!--攻击-->
                <div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-1">
                        <label>攻击</label>
                         
                     <input type="text" name="gongji" value="{{$users->gongji}}"  class="form-control" style="padding-left:2px;padding-right:2px;" >
                     </div>
                    </div>
                           

                  <!--防御-->
           <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1">
                        <label>防御</label>
                         
                     <input type="text" name="fangyu" value="{{$users->fangyu}}" class="form-control" style="padding-left:2px;padding-right:2px;">
                     
                    </div>
                            </div>
            
            <!--生命-->
            <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1">
                        <label>生命</label>
                         
                     <input type="text" name="shengming"  class="form-control" value="{{$users->shengming}}" style="padding-left:2px;padding-right:2px;">
                     
                    </div>
                            </div>
            <!--速度-->
           <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1">
                        <label>速度</label>
                         
                     <input type="text" name="sudu"  class="form-control" value="{{$users->sudu}}" style="padding-left:2px;padding-right:2px;">
                     
                    </div>
                            </div>
            <!--暴击-->
             <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1" style="margin-right:50%;">
                        <label>暴击</label>
                         
                     <input type="text" name="baoji"  class="form-control" value="{{$users->baoji}}" style="padding-left:2px;padding-right:2px;">
                     
                    </div>
                            </div>
            
            
            <!--暴击伤害-->
              <div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>暴击伤害</label>
                         
                     <input type="text" name="shanghai"  class="form-control" value="{{$users->shanghai}}" style="padding-left:2px;padding-right:2px;">
                     
                    </div>
                            </div>
           
            
            <!--效果命中-->
            <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>效果命中</label>
                         
                     <input type="text" name="mingzhong"  class="form-control" value="{{$users->mingzhong}}" style="padding-left:2px;padding-right:2px;">
                     
                    </div>
                            </div>
            
            <!--效果抵抗-->
              <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-2" style="margin-right:40%;border-top-width: 20px;margin-top: 20px;">
                        <label>效果抵抗</label>
                         
                     <input type="text" name="dikang"  class="form-control" value="{{$users->dikang}}" style="padding-left:2px;padding-right:2px;">
                     
                    </div>
                            </div>
            
            
            <!--技能图片1-->
        <div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>技能</label>
                         <img src="{{asset($users->jineng1)}}" class="img-circle" style="width:100px;height:100px ">
                                                             
                    
             <!--技能名称-->
           <div class="col-xs-10">
                        <label>名称</label>
                         
                     <input type="text" name="jineng11"  class="form-control" value="{{$users->jineng11}}" style="padding-left:2px;padding-right:2px;">
                     </div>
                    </div>
                        </div>
            
            <!--技能图片2-->
              <div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>技能</label>
                         <img src="{{asset($users->jineng2)}}" class="img-circle" style="width:100px;height:100px ">
                                                             
             <!--技能名称-->
           <div class="col-xs-10">
                        <label>名称</label>
                         
                     <input type="text" name="jineng22"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
                     </div>
                    </div>
                        </div>
              <div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>技能</label>
                        
                      <img src="{{asset($users->jineng3)}}" class="img-circle" style="width:100px;height:100px ">
                                                             
             <!--技能名称-->
           <div class="col-xs-10">
                        <label>名称</label>
                         
                     <input type="text" name="jineng33"  class="form-control" value="{{$users->jineng33}}" style="padding-left:2px;padding-right:2px;">
                     </div>
                    </div>
                        </div>
            
          <input type="hidden" name="id" value="{{$users->id}}">
            
            <!--技能图片3-->
            <!--技能名称-->
            
            
                  {{csrf_field()}}
                 
                <div class="col-md-6 col-md-offset-3" style="border-top-width: 20px;margin-top: 20px;">
                
                <button type="submit" class="btn btn-primary btn-lg">提交</button>
                <button type="reset" class="btn btn-danger btn-lg">重置</button>
                
                </div>
            </form>
@endsection